#pragma once
#include <string.h>
#include <iostream>
#include <unistd.h>
#include <stdio.h>
#include <vector>
#include <string>
using namespace std;

class BaseTask
{
public:
    BaseTask();
    virtual ~BaseTask();

    virtual void work(void* arg) = 0;

    void setData(const std::vector<char>& data);
    const std::vector<char>& getData() const;

protected:
    std::vector<char> m_data;
};
